SUBDIRS = Modelo Vista Vista_gtkmm Vista_qt

all:
	for dir in $(SUBDIRS); do \
	  $(MAKE) -C $$dir; \
        done
clean:
	rm -f *~ *.bak *.o main
	for dir in $(SUBDIRS); do \
	  $(MAKE) -C $$dir clean; \
        done
